<template>
  <div class="flow-row">
    <div class="flow-box">
      <div class="flow-item">
        <div class="node-name node-start">开始</div>
      </div>
      <FlowAddNode :node="props.node" :nodeType="0" :readable="props.readable" />
    </div>
  </div>
</template>
<script lang="ts" setup name="FlowEndNode">
  import FlowAddNode from '../add/index.vue';
  //------------------接收传入参数(组件)-------------------
  const props = defineProps({
    node: {
      type: Object,
      default: function() {
        return {};
      },
    },
    readable: {
      type: Boolean,
      default: true,
    },
  });
</script>
